#ifndef COUPLECONTROLVIEW_H
#define COUPLECONTROLVIEW_H
#include <QStandardItem>

#include <QDialog>

namespace Ui {
class CoupleControlView;
}

class CommunicateNormalDelegate;
class GlobalData;

class CoupleControlView : public QDialog
{
    Q_OBJECT

public:
    explicit CoupleControlView(int styleId,CommunicateNormalDelegate *communicateNormalThreadIn,
                               GlobalData *globalDataIn,QWidget *parent = 0);
    ~CoupleControlView();

    void initialDisplayStyle(int styleId);

public slots:
    void showView_slot();

private slots:
    void on_pushButton_manualDisableAxisFollowFunction_clicked();

    void on_pushButton_manualEnableAxisFollowFunction_clicked();

    void on_pushButton_getInfo_clicked();

    void on_pushButton_return_clicked();

    void on_pushButton_manualDisableMonitorDistance_clicked();

    void on_pushButton_manualEnableMonitorDistance_clicked();

private:
    Ui::CoupleControlView *ui;
    QStandardItemModel* model_coupleInfo;
    CommunicateNormalDelegate *communicateNormalThread;
    GlobalData *globalData;
};

#endif // COUPLECONTROLVIEW_H
